<?php /* Smarty version 2.6.18, created on 2009-11-19 15:43:57
         compiled from chi_tiet_hrformular.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array('title' => 'HRFORMULAR')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<form action="" method="post" target="_self" name="tongquat">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20%">
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
 <?php $_from = $this->_tpl_vars['chuyentrang1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_STYPE']; ?>
</td>
    <td colspan="3" style="color:#FF0000;"><input name="STYPE" id="STYPE" type="text" style="background:<?php echo $this->_tpl_vars['color_STYPE']; ?>
" value="<?php echo $this->_tpl_vars['STYPE']; ?>
" size="20" maxlength="3" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onblur="this.value=this.value.toUpperCase().replace(' ','');"/>
     * <input type="submit" name="find" value="    " id="replacement_find" /></td>
  </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_GRPSEQ']; ?>
</td>
    <td colspan="3">
      	<select name="GRPSEQ" size="1" disabled="disabled">
 		<?php $_from = $this->_tpl_vars['stt']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      	<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['GRPSEQ'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 		<?php endforeach; endif; unset($_from); ?>
		</select>      </td>
    </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_GRPDESC']; ?>
</td>
    <td colspan="3"><input name="GRPDESC" id="GRPDESC" type="text" value="<?php echo $this->_tpl_vars['GRPDESC']; ?>
" size="50" maxlength="50" readonly="readOnly"/></td>
    </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_SEQNO']; ?>
</td>
    <td colspan="3">
		<select name="SEQNO" size="1" disabled="disabled">
 		<?php $_from = $this->_tpl_vars['stt']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      	<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['SEQNO'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 		<?php endforeach; endif; unset($_from); ?>
		</select>   </td>
	</tr>	
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_FLDNAME']; ?>
</td>
    <td colspan="3" style="color:#FF0000;">
    <select name="FLDNAME" size="1" onchange="document.getElementById('replacement_find').click();">
 		<?php $_from = $this->_tpl_vars['cbo_fldname']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      	<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['FLDNAME'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
 		<?php endforeach; endif; unset($_from); ?>
	</select>	</td>
   </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_FORMSTR']; ?>
</td>
    <td colspan="3">
	 <input name="FORMSTR" id="FORMSTR" type="text" value="<?php echo $this->_tpl_vars['FORMSTR']; ?>
" size="80" maxlength="1000" readonly="readOnly"/>	</td>
	</tr>
	<tr>
	  <td><?php echo $this->_tpl_vars['lbl_REMARK']; ?>
</td>
	  <td colspan="3"><input name="REMARK" id="REMARK" type="text" value="<?php echo $this->_tpl_vars['REMARK']; ?>
" size="80" maxlength="50" readonly="readOnly"/></td>
    </tr>
	<tr>
    <td><?php echo $this->_tpl_vars['lbl_RND']; ?>
</td>
    <td colspan="3"><span style="color:#FF0000;">
      <select name="RND" size="1" id="RND">
        
        
        
 		<?php $_from = $this->_tpl_vars['cbo_RND']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      	
        
        
        <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['RND'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
        
        
        
 		<?php endforeach; endif; unset($_from); ?>
		
      
      
      </select>
    </span></td>
	</tr>
<tr>
<td colspan="4"><p>&nbsp;</p></td>
</tr>
<tr>
<td colspan="4">
<div align="center" style="width:680px;height:300px;overflow:auto;border:1px solid #6B82AC;">
<table border="0" cellpadding="0" cellspacing="1" id="tblSample" width="100%">
  <thead>
  <tr>  
  	<th nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_FLDNAME']; ?>
</th>
	<th nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_GRPSEQ']; ?>
</th>
	<th nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_GRPDESC']; ?>
</th>
	<th nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_SEQNO']; ?>
</th>	
	<th nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_FORMSTR']; ?>
</th>
	<th nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_REMARK']; ?>
</th>
	<th nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_RND']; ?>
</th>
  </tr>
  </thead>
  <tbody><?php echo $this->_tpl_vars['tabledata']; ?>
</tbody>
</table>
</div></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>
<tr>
  <td align="left" nowrap="nowrap" colspan="4"><input name="addnew" type="submit" value="<?php echo $this->_tpl_vars['ten_themmoi']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      <input name="maintain" type="submit" value="<?php echo $this->_tpl_vars['ten_baotri']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>

<tr>
<td >
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
 <?php $_from = $this->_tpl_vars['chuyentrang1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
</table>
</form>
<?php echo $this->_tpl_vars['javascriptsetstyle']; ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>